/* 首页样式 */
/* 版心 */
.wrapper {
    margin: 0 auto;
    width: 1200px;
}

body {
    background-color: #f3f5f7;
}

/* 头部区域 */
.header {
    height: 100px;
    background-color: #fff;
}

.header .wrapper {
    padding-top: 29px;
    display: flex;
}

/* logo */
.logo a {
    display: block;
    width: 195px;
    height: 41px;
    background-image: url(../images/7f34fba3a7a81b80e9527ac4a87d30c.jpg);
    font-size: 0;
}

/* 导航 */
.nav {
    margin-left: 102px;
}

.nav ul {
    display: flex;
}

.nav li {
    margin-right: 24px;
}

.nav li a {
    display: block;
    padding: 6px 8px;
    line-height: 27px;
    font-size: 19px;
}

/* active 类选择器：表示默认选中的a */
.nav li .active,
.nav li a:hover{
    border-bottom: 2px solid #00a4ff;
}

/* 搜索 */
.search {
    display: flex;
    margin-left: 64px;
    padding-left: 19px;
    padding-right: 12px;
    width: 412px;
    height: 40px;
    background-color: #00a4ff;
    border-radius: 20px;
}

.search input {
    flex: 1;
    border: 0;
    background-color: transparent;
    /* 去掉表单控件的焦点框 */
    outline: none;
    color: #fff;
}

.search input::placeholder {
    font-style: 14px;
    color: #ffffff;
}

/* 父级是flex布局，子级变弹性盒子:加宽高生效 */
.search a {
    align-self: center;
    width: 20px;
    height: 20px;
    background-image: url(../images/微信图片_20250310151120.png);
}

/* 用户 */
.user {
    margin-left: 32px;
    margin-top: 4px;
}

.user img {
    margin-right: 7px;
    /* vertical-align 行内块和行内垂直方向对齐方式 */
    vertical-align: middle;
}

.user span {
    font-style: 16px;
    color: #666;
}

/* banner区域 */
.banner {
    height: 420px;
    background-color: #351c87;
}

.banner .wrapper {
    display: flex;
    justify-content: space-between;
    height: 420px;
    background-image: url(../uploads/679e2f6bede0d98e66fc5cf352ee1ac.jpg);
}

/* 侧导航 */
.banner .left {
    display: flex;
    justify-content: space-evenly;
    padding: 3px 20px;
    width: 191px;
    height: 420px;
    background-color: rgba(0, 0, 0, 0.42);

}

.banner .left a {
    /* 块级：宽度是父级的100% */
    display: block;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    color: #fff;
    
}

/* 课程表 */
.banner .right {
    margin-top: 60px;
    width: 218px;
    height: 305px;
    background-color: #4a1ed9;
    border-radius: 10px;
}

.banner .right h3 {
    margin-left: 14px;
    height: 48px;
    line-height: 48px;
    font-style: 15px;
    color: #fff;
    font-weight: 400;
}

.banner .right .content {
    padding: 14px;
    height: 257px;
    background-color: #fff;
    border-radius: 10px;
}

.banner .right dl {
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.banner .right dt {
    margin-bottom: 8px;
    font-style: 14px;
    line-height: 20px;
    font-weight: 700;
}

.banner .right dd {
    margin-bottom: 8px;
    font-style: 12px;
    line-height: 16px;
}

.banner .right dd span {
    color: #00a4ff;
}

.banner .right dd strong {
    color: #7d7d7d;
    font-weight: 400;
}

.banner .right a {
    display: block;
    height: 32px;
    background-color:  #00a4ff;
    text-align: center;
    line-height: 32px;
    font-style: 14px;
    color: #fff;
    border-radius:15px ;
}

/* 精品推荐 */
.recommend {
    display: flex;
    margin-top: 11px;
    padding: 0 20px;
    height: 60px;
    background-color: #fff;
    box-shadow: 0px 1px 2px 0px rgba(211, 211, 211, 0.5);
    line-height: 60px;
}

.recommend h3 {
    font-size: 18px;
    color: #00a4ff;
    font-weight: 400;
}

.recommend ul {
    /* 除去标题和修改兴趣的尺寸，父级剩余尺寸都给ul，实现把修改兴趣挤到最右侧 */
    flex: 1;
    display: flex;
}

.recommend ul li a {
    padding: 0 24px;
    border-right: 1px solid #e0e0e0;
    font-style: 18px;
}

.recommend ul li:last-child a {
    border-right:  0;
}

.recommend .modify {
    font-style: 16px;
    color: #00a4ff;
}

/* 推荐课程 */
.course {
    margin-top: 15px;
}

/* 标题-公共类，与其他区域共用 */
.hd {
    display: flex;
    justify-content: space-between;
    height: 60px;
    line-height: 60px;
}

.hd h3 {
    font-size: 21px;
    font-weight: 400;
}

.hd .more {
    font-size: 14px;
    color: #999;
}

/* 课程内容-公共类 */

.bd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.bd li {
    margin-bottom: 14px;
    width: 228px;
    height: 271px;
    background-color: #fff111;
}

.bd li .pic {
    height: 156px;
    
}

.bd li .text {
    padding: 20px;
    height: 115px;
    background-color: #fff;
}

.bd li .text h4 {
    margin-bottom: 13px;
    height: 40px;
    font-style: 14px;
    line-height: 20px;
    font-weight: 400;
}

.bd li .text p {
    font-size: 14px;
    line-height: 20px;
    color: #999;
}

.bd li .text p span {
    color: #fa6400;
}

.bd li .text p i {
    font-style: normal;
}

/* 版权 */
.footer {
    margin-top: 60px;
    padding-top: 60px;
    height: 273px;
    background-color: #fff;
}